package wli.web.java;
import java.math.*;

/**
 * 
 * Line is a basic shape that does not support adding shapes
 */
public class Line implements Shape {

	public Line(int point1X, int point1Y, int point2X, int point2Y) {

	}

	@Override
	public Shape[] explodeShape() {

		// making a simple shape explode would return only the shape itself,
		// there are no parts of this shape

		Shape[] shapeParts = { this };

		return shapeParts;

	}

	/**
	 * this method must be implemented in this simple shape
	 */
	public void drawShapeToScreen() {
		System.out.println("This is a line ");
	}

}
